//
//  RtWeiboAppObserver.cpp
//  RtWeibo
//
//  Created by 杞昏交 on 12-2-16.
//  Copyright 2012骞�__MyCompanyName__. All rights reserved.
//

#include "RtWeiboAppObserver.h"
#import "MainView.h"

CRtWeiboAppObserver::CRtWeiboAppObserver()
{
    m_pMainView=NULL;
}

void CRtWeiboAppObserver::HandleUiExit()
{
//    [m_pMainView exitApplication];
    [m_pMainView performSelectorOnMainThread:@selector(exitApplication) withObject:nil waitUntilDone:YES];
}

void CRtWeiboAppObserver::NotifyDraw()
{
    [m_pMainView setNeedsDisplay];
}

void CRtWeiboAppObserver::Create2SendSms(const char* pText,int nLen)
{
    
}

void CRtWeiboAppObserver::MakeNewCall(const char* pText,int nLen)
{
    
}